#-------------------------------------------------------------------------------
# Name:        module1
# Purpose:
#
# Author:      Student
#
# Created:     03/07/2012
# Copyright:   (c) Student 2012
# Licence:     <your licence>
#-------------------------------------------------------------------------------
def factorial(Input):
    if (Input<=1):
        return 1
    else:
        return(Input)*factorial(Input-1)


def main():
    enterInput=input("PLease enter the number you wish to find the factorial of")
    enterInput= int(enterInput)
    print(factorial(enterInput))
    list("Python")

if __name__ == '__main__':
    main()
